$(function () {
    let data=myAjax("/contactus","","get");
    console.log(data);
    setcontactus(data.companyModel);
})

function setcontactus(data) {
    let company ='北京某某环保xx有限公司';
    let address=data.address;
    let email=data.email;
    let tel=data.tel;
    let phone=data.phone;
    let landline=data.landline;

    $("#company").text(company);
    $("#address").text(address);
    $("#email").text(email);
    $("#tel").text(tel);
    $("#phone").text(phone);
    $("#landline").text(landline);
}